<!DOCTYPE html>
<html lang="en" class="no-js">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scale=no,minimal-ui">
    <meta name="apple-mobile-web-app-title" content="SHUCES">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="full-screen" content="yes">
    <meta name="x5-fullscreen" content="true">
    <meta name="browsermode" content="application">
    <meta name="x5-page-mode" content="app">
    <title>SHUCES</title>
    <link href="__ROOT__/Public/css/bootstrap.min.css" rel="stylesheet">
    <script src="__ROOT__/Public/js/jquery.min.js"></script>
    <script src="__ROOT__/Public/js/base64.js"></script>
    <script src="__ROOT__/Public/js/bootstrap.min.js"></script>
    <link href="__ROOT__/Public/css/style.css" rel="stylesheet">
    <script type="text/javascript" src="__ROOT__/Public/js/hprose/hprose.js" flashpath="__ROOT__/Public/js/hprose/"></script>
    <script src="__ROOT__/Public/js/bootstrap-datetimepicker.min.js"></script>
    <script src="__ROOT__/Public/js/locales/bootstrap-datetimepicker.fr.js"></script>
    <link href="__ROOT__/Public/css/bootstrap-datetimepicker.min.css" rel="stylesheet">
</head>
<body>
    <p>这是管理登录界面</p>
    <input id="da">
    <input id="db">
    <button onclick="haha()" class="btn btn-default">确定</button>
<script>
    function haha(){
        var client = new HproseHttpClient('__PATHHPROSE__/hprose.php/Admin', ['haha']);
        client.haha($("#da").val(),$("#db").val(),function(result){
            result = JSON.parse(result);
            console.log(result);
            if(result.success == 0){
                alert(success.info);
            }
        })
    }

</script>


</body>
</html>
